import http from "@/utils/request";

export async function getAd(id: number): Promise<API.Result> {
    return http.get("ad/get_ad/" + id);
}

export async function adClick(id: number): Promise<API.Result> {
    return http.get("ad/click/" + id);
}